-
Notifications
You must be signed in to change notification settings - Fork 4
feat: add replicated request extension #70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Thank you for contributing! Unfortunately this repository does not accept external contributions yet. We are working on enabling this by aligning our internal processes and our CI setup to handle external contributions. However this will take some time to set up so in the meantime we unfortunately have to close this Pull Request. We hope you understand and will come back once we accept external PRs. — The DFINITY Foundation |
lpahlavi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot for the PR @ClankPan! Overall LGTM, just some minor nits regarding documentation and some misformated imports (see the linter errors in the CI).
Co-authored-by: Louis Pahlavi <louis.pahlavi@gmail.com>
Co-authored-by: Louis Pahlavi <louis.pahlavi@gmail.com>
lpahlavi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot for the PR @ClankPan!
## 🤖 New release * `canhttp`: 0.4.0 -> 0.5.0 (✓ API compatible changes) * `ic-canister-runtime`: 0.1.1 -> 0.1.2 (✓ API compatible changes) * `ic-pocket-canister-runtime`: 0.2.0 -> 0.3.0 (⚠ API breaking changes) * `ic-agent-canister-runtime`: 0.1.1 -> 0.1.2 (✓ API compatible changes) <details><summary><i><b>Changelog</b></i></summary><p> ## `canhttp` <blockquote> ## [0.5.0] - 2026-01-30 ### Added - Add support for batched JSON-RPC requests ([#65](#65)) - Add replicated request extension ([#70](#70)) ### Changed - Update dependencies ([#72](#72)) [0.5.0]: https://github.com/dfinity/canhttp/compare/canhttp-0.4.0..canhttp-0.5.0 </blockquote> ## `ic-canister-runtime` <blockquote> ## [0.1.2] - 2026-01-30 ### Changed - Update dependencies ([#72](#72)) [0.1.2]: https://github.com/dfinity/canhttp/compare/ic-canister-runtime-v0.1.1..ic-canister-runtime-v0.1.2 </blockquote> ## `ic-pocket-canister-runtime` <blockquote> ## [0.3.0] - 2026-01-30 ### Changed - **Breaking:** Bump `pocket-ic` to v12.0.0 ([#72](#72)) [0.3.0]: https://github.com/dfinity/canhttp/compare/ic-pocket-canister-runtime-v0.2.0..ic-pocket-canister-runtime-v0.3.0 </blockquote> ## `ic-agent-canister-runtime` <blockquote> ## [0.1.2] - 2026-01-30 ### Changed - Update dependencies ([#72](#72)) [0.1.2]: https://github.com/dfinity/canhttp/compare/ic-agent-canister-runtime-v0.1.1..ic-agent-canister-runtime-v0.1.2 </blockquote> </p></details> --- This PR was generated with [release-plz](https://github.com/release-plz/release-plz/). --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Louis Pahlavi <louis.pahlavi@dfinity.org>
Summary
Add a replicated request extension so callers can set is_replicated via http::Request/Builder and have it propagated into IcHttpRequest.
Changes